import { Request } from 'express';

export interface IRole {
  id: number;
  roleName: string;
  roleDescription: string;
  rolePermissions: string[];
};

export interface IGetRoleByIdReq extends Request<{ id: IRole['id'] }> { }
export interface IGetRolesByIdsReq extends Request<{ idList: IRole['id'][] }> { }
export interface IAddRoleReq extends Request { }
export interface IUpdateRoleReq extends Request<{ id: IRole['id'] }, any> { }
export interface IDeleteRoleReq extends Request<{ id: IRole['id'] }> { }